package com.zaizai.service;

import com.alibaba.dashscope.exception.ApiException;
import com.alibaba.dashscope.exception.InputRequiredException;
import com.alibaba.dashscope.exception.NoApiKeyException;

public interface IAiService {
    /**
     * 向ai提问并返回结果
     * @param question
     * @return 回答
     */
    public String toTalkResult(String question) throws ApiException, NoApiKeyException, InputRequiredException;
}
